home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / xcmds / dvlprstc.hqx / Developer Stack 1.3r / card_36385.txt < prev    next >
Text File  |  1991-04-30  |  1KB  |  53 lines

  1. -- card: 36385 from stack: in.3r
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3837
  5. -- name: SortRealsII
  6.  
  7.  
  8. -- part contents for background part 5
  9. ----- text -----
  10. SortRealsII
  11.  
  12. -- part contents for background part 6
  13. ----- text -----
  14. SortRealsII XFCN will sort real numbers contained in a field into ascending order.  The numbers should be separated by spaces.    (The numbers are "words" in HC parlance.).  SortRealsII is for the Mac II only.
  15.  
  16. This XFCN is FreeWare.  You may use it freely in any of your stacks, for your own, or
  17. commercial use or extend its capablities to return averages or whatever.
  18.  
  19.         SHOW ME YOUR XCMD
  20.              SOURCE CODE!
  21.  
  22. SortReals* was written in LightspeedΓäó Pascal and SortRealsII was written in MPW Pascal.
  23.  
  24. George Coyne
  25.  
  26. GENIE: GWCOYNE
  27. CIS: 75776,1463
  28.  
  29. -- part contents for background part 7
  30. ----- text -----
  31. Syntax:
  32.  
  33. SortRealsII(<input>)
  34.  
  35. Where:
  36. input:  Any HyperCard Container
  37.  
  38. The functions return a sorted list.
  39.  
  40. Example:
  41. put SortReals(input) into output
  42.  
  43. output may be the same container as input.
  44.  
  45. SortRealsII is considerably faster than SortReals* on longer lists thanks to the 68881.
  46.  
  47. -- part contents for background part 10
  48. ----- text -----
  49. 39
  50.  
  51. -- part contents for background part 27
  52. ----- text -----
  53. XFCN